package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程申请对象 xg_industry_education_class
 * 
 * @author coderChen
 * @date 2024-01-09
 */
public class IndustryEducationClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 课程主题 */
    @Excel(name = "课程主题")
    private String educationTheme;

    /** 课程简介 */
    @Excel(name = "课程简介")
    private String content;

    /** 申请人 */
    @Excel(name = "申请人")
    private String educationApplicant;

    /** 课程审批状态 */
    @Excel(name = "课程审批状态")
    private String educationStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEducationTheme(String educationTheme) 
    {
        this.educationTheme = educationTheme;
    }

    public String getEducationTheme() 
    {
        return educationTheme;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setEducationApplicant(String educationApplicant) 
    {
        this.educationApplicant = educationApplicant;
    }

    public String getEducationApplicant() 
    {
        return educationApplicant;
    }
    public void setEducationStatus(String educationStatus) 
    {
        this.educationStatus = educationStatus;
    }

    public String getEducationStatus() 
    {
        if(educationStatus == null){
            return "待审核";
        }else{
            return educationStatus;
        }
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("educationTheme", getEducationTheme())
            .append("content", getContent())
            .append("educationApplicant", getEducationApplicant())
            .append("educationStatus", getEducationStatus())
            .append("createBy", getCreateBy())
            .toString();
    }
}
